result = 0  # 累加后的结果
i = 1  # 从1开始累加
end_num = 100  # 累加到多少结束

while i <= end_num:
    result += i
    i += 1

print(F'结果是{result}')
